package com.runchinaup.textapp.activity;

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.widget.Toast;

import com.runchinaup.textapp.R;
import com.runchinaup.textapp.helper.Helper;

/**
 * Created by liber on 2018/3/14.
 */

public class TestActivity extends Activity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        Helper helper = new Helper() {
            @Override
            public void show() {
                Toast.makeText(TestActivity.this, "TestActivity", Toast.LENGTH_SHORT).show();
                Log.e("debug_test", "TestActivity");
                setResult(111);
                finish();
            }
        };

        helper.interest();


    }
}
